package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

/**
 * @Author: 马宇航
 * @Description: 商品服务接口
 * @DateTime: 22/10/10/0010 16:11
 * @Component: 成都蜗牛学苑
 **/
public interface ProductService {
    int addOne(Product product);

    ResponseEntity findByPid(Integer id);

    ResponseEntity updateOne(Product product) ;

    ResponseEntity searchPrice(Double floorPrice, Double ceilingPrice);

    ResponseEntity searchProduce(Integer pid, String name, Double price);
}
